package com.qf.agro.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * ProjectName: smart-agriculture-parent
 * ClassName: Company
 * Author: chenyaosen
 * Date: 2023/6/29 20:39
 * Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("sa_sys_company")
public class Company implements Serializable {

    @TableId
    private Long id;

    private String name;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date expirationDate;

    private String address;

    private String licenseId;

    private String representative;

    private String phone;

    private String companySize;

    private String industry;

    private String remarks;

    private Integer state;

    private Double balance;

    private String city;
}
